package com.bill.common.system.dto;

import com.sinba.common.dto.BaseDTO;

import java.util.Date;

import org.apache.struts2.json.annotations.JSON;

public class ActivationCodeDTO
    extends BaseDTO
{
	private static final long serialVersionUID = -2793743435815929396L;
	private Long id;
    private String activationCode; //验证码
    private Date validDate; //有效期
    private String status; //状状态(YES,已使用
    private String type; //验证类型(邮件Email、短信Mobile)
    private String remark; //备注
    private String category; //分类 (注册、提现、转账)
    private String authStr; //验证手机号或邮件地址)
    private int start;
    private int limit = 10;

    public Long getId(  )
    {
        return id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    public String getActivationCode(  )
    {
        return activationCode;
    }

    public void setActivationCode( String activationCode )
    {
        this.activationCode = activationCode;
    }
	@JSON(format ="yyyy-MM-dd HH:mm:ss")
    public Date getValidDate(  )
    {
        return validDate;
    }

    public void setValidDate( Date validDate )
    {
        this.validDate = validDate;
    }

    public String getStatus(  )
    {
        return status;
    }

    public void setStatus( String status )
    {
        this.status = status;
    }

    public String getType(  )
    {
        return type;
    }

    public void setType( String type )
    {
        this.type = type;
    }

    public String getRemark(  )
    {
        return remark;
    }

    public void setRemark( String remark )
    {
        this.remark = remark;
    }

    public String getCategory(  )
    {
        return category;
    }

    public void setCategory( String category )
    {
        this.category = category;
    }

    public String getAuthStr(  )
    {
        return authStr;
    }

    public void setAuthStr( String authStr )
    {
        this.authStr = authStr;
    }

    public int getStart(  )
    {
        return start;
    }

    public void setStart( int start )
    {
        this.start = start;
    }

    public int getLimit(  )
    {
        return limit;
    }

    public void setLimit( int limit )
    {
        this.limit = limit;
    }
}
